<ion-view   >
  <ion-header-bar align-title="center" class=" bar-calm item-input-inset">
    <div class="buttons">
        <img src="img/s.png" style="height:26px;width:26px;margin-right:10px"  ng-click="taskdateselmodal.show()"/> 
    </div>
    <label class="item-input-wrapper" style="background-color:#fff">
      <i class="icon   placeholder-icon"></i>
      <input type="search" id="input_search" placeholder="搜索任务">
    </label>
    <div class="buttons">
      <button class="button icon ion-android-search" ng-click="doRefresh()"> </button>
    </div>
  </ion-header-bar> 
    
  <ion-content overflow-scroll="true"> 
<div class="row " style="height:100%;padding:0px">
  <div id="div_left" class="col col-33" style="border-right:solid 1px #e7e7e7;margin:0px;padding:0px;background-color:#f7f7f7;"> 
       <div class="row  border_bottom" style="padding:0px; text-align:center;background-color:#ddd" >
          <div class="col     border_right" >
              <h9>{{seldatestr}}</h9><br />
              <h14>任务列表</h14>  
          </div> 
        </div>  
      
      <ul class="list">  
           <li class="item    calm tasklist" 
               ng-repeat="task in tasklist" 
               id="m_{{task.Task_ID.trim()}}" 
               ng-click="fun_tasksel('{{task.Task_ID}}')">
              <div class="title">{{task.Task_Name}}</div> 
             <div class="nummemo" > 
                   {{task.IN_Date}}
              </div> 
            </li> 
          </ul>
      </div> 
  <div id="div_right" class="col col-67" style="padding:0px;margin:0px;overflow:scroll; ">
      <ul class="list">
          <div class="row   item-calm " style="padding:0px; text-align:center;" >
              <div class="col  t_statesel   border_right border_bottom" id="t_{{stateinfo.name}}"
                   ng-repeat="stateinfo in statelist"
                   ng-click="fun_statesel('{{stateinfo.name}}')">
                  <h9>{{custinfo[stateinfo.name]}}</h9><br />
                  <h14>{{stateinfo.title}}</h14>
              </div>
          </div>
          <li class="item   item-icon-right calm taskcustlist" ng-repeat="cust in custinfo.list" >
          <h3>{{cust.Cust_Name}}&nbsp;&nbsp;{{cust.Cust_Phone}}({{cust.cellcount}})</h3> 
          <p>跟进时间：{{cust.laststartdate}}</p>
          <i class="icon ion-ios-telephone" ng-click="callSomething('{{cust.Cust_Phone}}')" ></i>
          <div> 
              <span class="color-gray">{{cust.Ower_Name}}</span>
              <span class="color{{cust.Call_State.trim()}}">{{cust.Call_State_Str}}</span> 
              <span class=" color{{cust.Follow_State.trim()}}" ng-click="follostateshow({{cust}})">{{cust.Follow_State_Str}}</span> 
              
          </div> 
        </li>  
        <li id="loadMore" class="item   item-icon-right calm taskcustlist" ng-click="loadMoreCustlist( )" style="text-align:center;padding:10px;color:#555"> 
           点击加载更多 
        </li>
     </ul> 
  </div> 
</div>
   
  </ion-content>
</ion-view>
 